﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZX.TR.Library;
namespace ZX.TR.Bussiness
{
    public class BTrcustomer : BLL.Extend.BaseBussnies
    {
        public BTrcustomer()
        {
            this.entity = new TrCustomer();
        }
        /// <summary>
        /// 根据部门ID判断部门是否已添加客户
        /// </summary>
        /// <param name="DeptId">部门ID</param>
        /// <returns>true:存在 false:不存在</returns>
        public bool IsExistsByDeptID(Guid DeptId)
        {
            return this.GetEntityByCondition("DeptID='" + DeptId + "'") != null;
        }
    }
}
